package com.chance.cc.crawler.prod.command.trigger.domain.news.haoyisheng;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.meta.core.bean.CrawlerMetaConstant;
import com.chance.cc.crawler.prod.command.job.domain.news.haoyisheng.HaoYiShengSearchKwTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.trigger.CommonCrawlerSchedulerTrigger;

/**
 * @Author Zhao.Hhuan
 * @Date Create in 2021/7/5 13:31
 * @Description
 *      好医生
 **/
public class HaoYiShengCommonCrawlerScheduleTrigger extends CommonCrawlerSchedulerTrigger {
    public static void main(String[] args) {
        publishHaoYiShengSearchKwTraceCrawlerScheduleTriggerInfo();
    }



    public static void publishHaoYiShengSearchKwTraceCrawlerScheduleTriggerInfo(){
        CrawlerJob crawlerJob = HaoYiShengSearchKwTraceCrawlerSchedulerJob.crawlerSchedulejob();

        metaServiceCommand_17.addOrUpdateScheduleCrawlerTrigger(
                crawlerJob.generateCrawlerKey(),
                crawlerJob.generateCrawlerTriggerKey(),
                HaoYiShengSearchKwTraceCrawlerSchedulerJob.domain,
                CrawlerMetaConstant.ScheduleJobTrigger_Cron,
                "0 10 2 * * ?",
                "好医生关键词查询回溯七天2:10开始"
//
        );
    }


}
